
#include	<stdio.h>
#include	<stdlib.h>

int main( int argc, char** argv )
{
	FILE* fstream;
	double A[3];

	A[0] = 1.0;
	A[1] = 2.0;
	A[2] = 3.0;
	fstream = fopen("a.dat", "wb");

	fwrite( A, sizeof(double), 3, fstream );

	fclose(fstream);

}
